home *** CD-ROM | disk | FTP | other *** search
- Date: Wed, 6 Jul 1994 10:51:19 -0400 (EDT)
- From: Timothy Miller <millert@undergrad.csee.usf.edu>
- Subject: Re: available keys
- To: gem-list@world.std.com
- In-Reply-To: <2e179462992ad@elfhaven.ersys.edmonton.ab.ca>
- Message-Id: <Pine.3.87.9407061019.A24239-0100000@grad>
- Mime-Version: 1.0
- Precedence: bulk
-
- Forget:
-
- )>If you used a 1-pixel rectangle, then your program would be interrupted
- )>every time the mouse moved. This wouldn't take a whole lot more overhead
- )>than the interrupts that the OS gets from the hardware.
- )
- )The point is that you are not using a one pixel rectangle; most of the
- )time you are using fairly large rectangles. This is _HARD_ to
- )implement, and harder to understand, but if you have working source
- )code you do not need to worry about it much; check out Tim Oren's
- )ProGEM series of articles; it has source code for this, and an
- )explanation (if you can wade through the complexities of it; it was
- )a long time ago that I read it, but I'm pretty sure it went right
- )over my head at the time).
-
- I KNOW it's hard, which is why I suggested using a 1-pixel rectangle.
- But others are correct... if you track a 1-pixel rectangle, then you'd
- have to call objc_find every time the mouse moved, which WOULD cause a
- lot of overhead.
-
-
-
-